namespace FutureApp.Migrations
{
    using System;
    using System.Data.Entity.Migrations;
    
    public partial class _20161206Course2 : DbMigration
    {
        public override void Up()
        {
            AddColumn("dbo.FutureChoose", "Name_Id", c => c.Guid());
            CreateIndex("dbo.FutureChoose", "Name_Id");
            AddForeignKey("dbo.FutureChoose", "Name_Id", "dbo.FutureCourse", "Id");
        }
        
        public override void Down()
        {
            DropForeignKey("dbo.FutureChoose", "Name_Id", "dbo.FutureCourse");
            DropIndex("dbo.FutureChoose", new[] { "Name_Id" });
            DropColumn("dbo.FutureChoose", "Name_Id");
        }
    }
}
